//
//  MineInfoDescModel.m
//  MJApp
//
//  Created by scjh on 15/3/27.
//  Copyright (c) 2015年 wangliang. All rights reserved.
//

#import "MineInfoDescModel.h"

@implementation MineInfoDescModel

- (CGSize)mineInfoDescHigh:(NSDictionary *)infoDic with:(UILabel *)label {
    
    NSDictionary *attrs = @{NSFontAttributeName : label.font};
    CGSize size = [label.text boundingRectWithSize:CGSizeMake(IOS_IPHONE_WINDOW_WIDE - 20, MAXFLOAT) options:NSStringDrawingUsesLineFragmentOrigin attributes:attrs context:nil].size;
    return size;
}

//
//- (void)setInfoDic:(NSDictionary *)infoDic {
//    
//    _infoDic = infoDic;
//    NSDictionary *attrs = @{NSFontAttributeName : self.descLabel.font};
//    CGSize size = [self.descLabel.text boundingRectWithSize:CGSizeMake(IOS_IPHONE_WINDOW_WIDE - 20, MAXFLOAT) options:NSStringDrawingUsesLineFragmentOrigin attributes:attrs context:nil].size;
//    NSDictionary *attrs1 = @{NSFontAttributeName : self.QQLabel.font};
//    CGSize size1 = [self.QQLabel.text boundingRectWithSize:CGSizeMake(IOS_IPHONE_WINDOW_WIDE, MAXFLOAT) options:NSStringDrawingUsesLineFragmentOrigin attributes:attrs1 context:nil].size;
//    _cellHigh = size.height + CGRectGetMaxY(self.name.frame) + size1.height * 4 + 5 * 8;
//}


@end
